<!DOCTYPE html><html><head>
      <title>Markdown基础语法+部分扩语法（vscode）</title>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      
      <link rel="stylesheet" href="file:///c:\Users\Wang Yuanyuan\.vscode\extensions\shd101wyy.markdown-preview-enhanced-0.8.11\crossnote\dependencies\katex\katex.min.css">
      
      
      
      
      
      <style>
      code[class*=language-],pre[class*=language-]{color:#333;background:0 0;font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.4;-moz-tab-size:8;-o-tab-size:8;tab-size:8;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:.8em;overflow:auto;border-radius:3px;background:#f5f5f5}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal;background:#f5f5f5}.token.blockquote,.token.comment{color:#969896}.token.cdata{color:#183691}.token.doctype,.token.macro.property,.token.punctuation,.token.variable{color:#333}.token.builtin,.token.important,.token.keyword,.token.operator,.token.rule{color:#a71d5d}.token.attr-value,.token.regex,.token.string,.token.url{color:#183691}.token.atrule,.token.boolean,.token.code,.token.command,.token.constant,.token.entity,.token.number,.token.property,.token.symbol{color:#0086b3}.token.prolog,.token.selector,.token.tag{color:#63a35c}.token.attr-name,.token.class,.token.class-name,.token.function,.token.id,.token.namespace,.token.pseudo-class,.token.pseudo-element,.token.url-reference .token.variable{color:#795da3}.token.entity{cursor:help}.token.title,.token.title .token.punctuation{font-weight:700;color:#1d3e81}.token.list{color:#ed6a43}.token.inserted{background-color:#eaffea;color:#55a532}.token.deleted{background-color:#ffecec;color:#bd2c00}.token.bold{font-weight:700}.token.italic{font-style:italic}.language-json .token.property{color:#183691}.language-markup .token.tag .token.punctuation{color:#333}.language-css .token.function,code.language-css{color:#0086b3}.language-yaml .token.atrule{color:#63a35c}code.language-yaml{color:#183691}.language-ruby .token.function{color:#333}.language-markdown .token.url{color:#795da3}.language-makefile .token.symbol{color:#795da3}.language-makefile .token.variable{color:#183691}.language-makefile .token.builtin{color:#0086b3}.language-bash .token.keyword{color:#0086b3}pre[data-line]{position:relative;padding:1em 0 1em 3em}pre[data-line] .line-highlight-wrapper{position:absolute;top:0;left:0;background-color:transparent;display:block;width:100%}pre[data-line] .line-highlight{position:absolute;left:0;right:0;padding:inherit 0;margin-top:1em;background:hsla(24,20%,50%,.08);background:linear-gradient(to right,hsla(24,20%,50%,.1) 70%,hsla(24,20%,50%,0));pointer-events:none;line-height:inherit;white-space:pre}pre[data-line] .line-highlight:before,pre[data-line] .line-highlight[data-end]:after{content:attr(data-start);position:absolute;top:.4em;left:.6em;min-width:1em;padding:0 .5em;background-color:hsla(24,20%,50%,.4);color:#f4f1ef;font:bold 65%/1.5 sans-serif;text-align:center;vertical-align:.3em;border-radius:999px;text-shadow:none;box-shadow:0 1px #fff}pre[data-line] .line-highlight[data-end]:after{content:attr(data-end);top:auto;bottom:.4em}html body{font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif;font-size:16px;line-height:1.6;color:#333;background-color:#fff;overflow:initial;box-sizing:border-box;word-wrap:break-word}html body>:first-child{margin-top:0}html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{line-height:1.2;margin-top:1em;margin-bottom:16px;color:#000}html body h1{font-size:2.25em;font-weight:300;padding-bottom:.3em}html body h2{font-size:1.75em;font-weight:400;padding-bottom:.3em}html body h3{font-size:1.5em;font-weight:500}html body h4{font-size:1.25em;font-weight:600}html body h5{font-size:1.1em;font-weight:600}html body h6{font-size:1em;font-weight:600}html body h1,html body h2,html body h3,html body h4,html body h5{font-weight:600}html body h5{font-size:1em}html body h6{color:#5c5c5c}html body strong{color:#000}html body del{color:#5c5c5c}html body a:not([href]){color:inherit;text-decoration:none}html body a{color:#08c;text-decoration:none}html body a:hover{color:#00a3f5;text-decoration:none}html body img{max-width:100%}html body>p{margin-top:0;margin-bottom:16px;word-wrap:break-word}html body>ol,html body>ul{margin-bottom:16px}html body ol,html body ul{padding-left:2em}html body ol.no-list,html body ul.no-list{padding:0;list-style-type:none}html body ol ol,html body ol ul,html body ul ol,html body ul ul{margin-top:0;margin-bottom:0}html body li{margin-bottom:0}html body li.task-list-item{list-style:none}html body li>p{margin-top:0;margin-bottom:0}html body .task-list-item-checkbox{margin:0 .2em .25em -1.8em;vertical-align:middle}html body .task-list-item-checkbox:hover{cursor:pointer}html body blockquote{margin:16px 0;font-size:inherit;padding:0 15px;color:#5c5c5c;background-color:#f0f0f0;border-left:4px solid #d6d6d6}html body blockquote>:first-child{margin-top:0}html body blockquote>:last-child{margin-bottom:0}html body hr{height:4px;margin:32px 0;background-color:#d6d6d6;border:0 none}html body table{margin:10px 0 15px 0;border-collapse:collapse;border-spacing:0;display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all}html body table th{font-weight:700;color:#000}html body table td,html body table th{border:1px solid #d6d6d6;padding:6px 13px}html body dl{padding:0}html body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:700}html body dl dd{padding:0 16px;margin-bottom:16px}html body code{font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:.85em;color:#000;background-color:#f0f0f0;border-radius:3px;padding:.2em 0}html body code::after,html body code::before{letter-spacing:-.2em;content:'\00a0'}html body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:0 0;border:0}html body .highlight{margin-bottom:16px}html body .highlight pre,html body pre{padding:1em;overflow:auto;line-height:1.45;border:#d6d6d6;border-radius:3px}html body .highlight pre{margin-bottom:0;word-break:normal}html body pre code,html body pre tt{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}html body pre code:after,html body pre code:before,html body pre tt:after,html body pre tt:before{content:normal}html body blockquote,html body dl,html body ol,html body p,html body pre,html body ul{margin-top:0;margin-bottom:16px}html body kbd{color:#000;border:1px solid #d6d6d6;border-bottom:2px solid #c7c7c7;padding:2px 4px;background-color:#f0f0f0;border-radius:3px}@media print{html body{background-color:#fff}html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{color:#000;page-break-after:avoid}html body blockquote{color:#5c5c5c}html body pre{page-break-inside:avoid}html body table{display:table}html body img{display:block;max-width:100%;max-height:100%}html body code,html body pre{word-wrap:break-word;white-space:pre}}.markdown-preview{width:100%;height:100%;box-sizing:border-box}.markdown-preview ul{list-style:disc}.markdown-preview ul ul{list-style:circle}.markdown-preview ul ul ul{list-style:square}.markdown-preview ol{list-style:decimal}.markdown-preview ol ol,.markdown-preview ul ol{list-style-type:lower-roman}.markdown-preview ol ol ol,.markdown-preview ol ul ol,.markdown-preview ul ol ol,.markdown-preview ul ul ol{list-style-type:lower-alpha}.markdown-preview .newpage,.markdown-preview .pagebreak{page-break-before:always}.markdown-preview pre.line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}.markdown-preview pre.line-numbers>code{position:relative}.markdown-preview pre.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:1em;font-size:100%;left:0;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-preview pre.line-numbers .line-numbers-rows>span{pointer-events:none;display:block;counter-increment:linenumber}.markdown-preview pre.line-numbers .line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right}.markdown-preview .mathjax-exps .MathJax_Display{text-align:center!important}.markdown-preview:not([data-for=preview]) .code-chunk .code-chunk-btn-group{display:none}.markdown-preview:not([data-for=preview]) .code-chunk .status{display:none}.markdown-preview:not([data-for=preview]) .code-chunk .output-div{margin-bottom:16px}.markdown-preview .md-toc{padding:0}.markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link{display:inline;padding:.25rem 0}.markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link div,.markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link p{display:inline}.markdown-preview .md-toc .md-toc-link-wrapper.highlighted .md-toc-link{font-weight:800}.scrollbar-style::-webkit-scrollbar{width:8px}.scrollbar-style::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}.scrollbar-style::-webkit-scrollbar-thumb{border-radius:5px;background-color:rgba(150,150,150,.66);border:4px solid rgba(150,150,150,.66);background-clip:content-box}html body[for=html-export]:not([data-presentation-mode]){position:relative;width:100%;height:100%;top:0;left:0;margin:0;padding:0;overflow:auto}html body[for=html-export]:not([data-presentation-mode]) .markdown-preview{position:relative;top:0;min-height:100vh}@media screen and (min-width:914px){html body[for=html-export]:not([data-presentation-mode]) .markdown-preview{padding:2em calc(50% - 457px + 2em)}}@media screen and (max-width:914px){html body[for=html-export]:not([data-presentation-mode]) .markdown-preview{padding:2em}}@media screen and (max-width:450px){html body[for=html-export]:not([data-presentation-mode]) .markdown-preview{font-size:14px!important;padding:1em}}@media print{html body[for=html-export]:not([data-presentation-mode]) #sidebar-toc-btn{display:none}}html body[for=html-export]:not([data-presentation-mode]) #sidebar-toc-btn{position:fixed;bottom:8px;left:8px;font-size:28px;cursor:pointer;color:inherit;z-index:99;width:32px;text-align:center;opacity:.4}html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] #sidebar-toc-btn{opacity:1}html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc{position:fixed;top:0;left:0;width:300px;height:100%;padding:32px 0 48px 0;font-size:14px;box-shadow:0 0 4px rgba(150,150,150,.33);box-sizing:border-box;overflow:auto;background-color:inherit}html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar{width:8px}html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar-thumb{border-radius:5px;background-color:rgba(150,150,150,.66);border:4px solid rgba(150,150,150,.66);background-clip:content-box}html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc a{text-decoration:none}html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc{padding:0 16px}html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper .md-toc-link{display:inline;padding:.25rem 0}html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper .md-toc-link div,html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper .md-toc-link p{display:inline}html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper.highlighted .md-toc-link{font-weight:800}html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{left:300px;width:calc(100% - 300px);padding:2em calc(50% - 457px - 300px / 2);margin:0;box-sizing:border-box}@media screen and (max-width:1274px){html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{padding:2em}}@media screen and (max-width:450px){html body[for=html-export]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{width:100%}}html body[for=html-export]:not([data-presentation-mode]):not([html-show-sidebar-toc]) .markdown-preview{left:50%;transform:translateX(-50%)}html body[for=html-export]:not([data-presentation-mode]):not([html-show-sidebar-toc]) .md-sidebar-toc{display:none}
/* Please visit the URL below for more information: */
/*   https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */

      </style>
      <!-- The content below will be included at the end of the <head> element. --><script type="text/javascript">
  document.addEventListener("DOMContentLoaded", function () {
    // your code here
  });
</script></head><body for="html-export">
    
    
      <div class="crossnote markdown-preview  ">
      
<h1 id="markdown基础语法">Markdown基础语法 </h1>
<blockquote>
<p>写在前面：</p>
<ul>
<li>
<p>此篇博客虽然讲的是Markdown的基本语法，但我认为作为日常书写记录的语法完全够用了！</p>
</li>
<li>
<p>扩展语法篇的内容相对较难，针对的是一些特别需求，如合并单元格，设置文字背景色等内容。由于Markdown本身没有提供相应语法，更多是使用HTML语言实现的。在这篇博客的相关内容处也放置了对应扩展内容的说明和链接，可以直接跳转。如果想学习扩展语法，<strong><a href="https://www.cnblogs.com/poem357/p/17816004.html"><font color="#42b983">也可以点击这里，跳转Markdown扩展语法篇。</font></a></strong></p>
</li>
<li>
<p>此篇博客主要借鉴了Markdown官方教程文档。</p>
</li>
<li>
<p>本篇博文（以及所有博客）的 .md/html 文档都在我的<a href="https://gitee.com/Poem357/my-notes/tree/master/%E4%B8%80%E4%BA%9B%E5%B7%A5%E5%85%B7"> GItee 仓库</a>中，我会根据博客实时更新的，有需要的伙伴可以自行下载~！</p>
</li>
</ul>
</blockquote>

<div class="md-toc">
<details style="padding:0;;padding-left:0px;" open="">
        <summary class="md-toc-link-wrapper">
          <a href="#markdown基础语法" class="md-toc-link"><p>Markdown基础语法</p>
</a>
          </summary>
        <div>
          <div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#推荐学习markdown的理由" class="md-toc-link">
            <p>推荐学习Markdown的理由</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#标题语法" class="md-toc-link">
            <p>标题语法</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#换行语法" class="md-toc-link">
            <p>换行语法</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#段落语法" class="md-toc-link">
            <p>段落语法</p>

          </a></div><details style="padding:0;;padding-left:24px;" open="">
        <summary class="md-toc-link-wrapper">
          <a href="#强调语法" class="md-toc-link"><p>强调语法</p>
</a>
          </summary>
        <div>
          <div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#粗体bold" class="md-toc-link">
            <p>粗体(Bold)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#斜体italic" class="md-toc-link">
            <p>斜体(Italic)</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#粗体和斜体" class="md-toc-link">
            <p>粗体和斜体</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#删除线" class="md-toc-link">
            <p>删除线</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#文字居中" class="md-toc-link">
            <p>文字居中</p>

          </a></div>
        </div>
      </details>
    <div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#引用语法" class="md-toc-link">
            <p>引用语法</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#分割线语法" class="md-toc-link">
            <p>分割线语法</p>

          </a></div><details style="padding:0;;padding-left:24px;" open="">
        <summary class="md-toc-link-wrapper">
          <a href="#列表语法" class="md-toc-link"><p>列表语法</p>
</a>
          </summary>
        <div>
          <div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#有序列表" class="md-toc-link">
            <p>有序列表</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#无序列表" class="md-toc-link">
            <p>无序列表</p>

          </a></div>
        </div>
      </details>
    <details style="padding:0;;padding-left:24px;" open="">
        <summary class="md-toc-link-wrapper">
          <a href="#代码语法" class="md-toc-link"><p>代码语法</p>
</a>
          </summary>
        <div>
          <div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#行内代码" class="md-toc-link">
            <p>行内代码</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#代码块" class="md-toc-link">
            <p>代码块</p>

          </a></div>
        </div>
      </details>
    <div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#表格语法" class="md-toc-link">
            <p>表格语法</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#数学公式" class="md-toc-link">
            <p>数学公式</p>

          </a></div><details style="padding:0;;padding-left:24px;" open="">
        <summary class="md-toc-link-wrapper">
          <a href="#链接语法" class="md-toc-link"><p>链接语法</p>
</a>
          </summary>
        <div>
          <div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#网址和email地址" class="md-toc-link">
            <p>网址和Email地址</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#带格式化的链接" class="md-toc-link">
            <p>带格式化的链接</p>

          </a></div>
        </div>
      </details>
    <details style="padding:0;;padding-left:24px;" open="">
        <summary class="md-toc-link-wrapper">
          <a href="#图片语法" class="md-toc-link"><p>图片语法</p>
</a>
          </summary>
        <div>
          <div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#普通图片" class="md-toc-link">
            <p>普通图片</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#链接图片" class="md-toc-link">
            <p>链接图片</p>

          </a></div>
        </div>
      </details>
    <div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#转义字符语法" class="md-toc-link">
            <p>转义字符语法</p>

          </a></div><div class="md-toc-link-wrapper" style="padding:0;;display:list-item;list-style:square;margin-left:42px">
          <a href="#自动网址链接" class="md-toc-link">
            <p>自动网址链接</p>

          </a></div>
        </div>
      </details>
    
</div>
<h2 id="推荐学习markdown的理由">推荐学习Markdown的理由 </h2>
<hr>
<blockquote>
<p>Markdown是一种轻量级标记语言，可用于在纯文本文档中添加格式化元素，其由John Gruber于2004年创建，如今已成为世界上最受欢迎的标记语言之一。</p>
</blockquote>
<p>有些人可能会有疑问，Markdown 也是文本语言，与 Word 似乎并没有什么不同，而且Word的功能更加多样强大，为什么还要花费时间去学习Markdown语法？</p>
<p>以我为例，我是一个有点强迫症的人。如果是要示人的 Word 文档，我会格外纠结字号、字体、行间距，甚至有些重要文字会去修改字间距等等，这些操作都让我不得不暂停灵感，移动鼠标，修改属性，再回归文字。但正如官方教程所说：<strong>Markdown 让人们更多地关注内容本身而非排版。</strong></p>
<p>此外：</p>
<ul>
<li>Markdown 导出格式多样。可导出 HTML、PDF 、 WORD 以及本身的 .md 格式的文件。</li>
<li>Markdown 因简洁、高效、易读、易写被大量使用，如Github、Wikipedia、简书等。</li>
<li>Markdown 的语法十分简单，常用的标记符号不超过十个，用于日常写作记录绰绰有余，<strong>不到半小时就能完全掌握</strong>。</li>
</ul>
<p>以上都是Markdown的优点，特别是代码方面，它的代码块支持语法高亮，看起来十分赏心悦目，BTW我最初就是为了代码去学习的Markdown。</p>
<p>用Markdown写博客也是非常友好的，这篇博客就是用Markdown写的，目前的使用最多的mkd编辑器可能是Typora，但贫穷使我捣鼓了一阵子的Vscode，安装插件后也非常丝滑，写好的博客可以直接上传到博客平台。</p>
<p>给大家看看写mdk时的截屏，左边是书写mkd文本的区域，右边是实时渲染区。渲染效果正好，多一分花哨，少一分平淡。<br>
<img src="https://img2023.cnblogs.com/blog/3258107/202311/3258107-20231109220856054-1047836839.png" alt="Alt text" title="一般情况下，我都使用这个主题，护眼和亮度达到了很好的平衡。"><br>
<img src="https://img2023.cnblogs.com/blog/3258107/202311/3258107-20231109220856597-1724851866.png" alt="Alt text" title="一般情况下，我都使用这个主题，护眼和亮度达到了很好的平衡。"><br>
<img src="https://img2023.cnblogs.com/blog/3258107/202311/3258107-20231110094013702-1303563694.png" alt="Alt text" title="光线不足的时候用暗色主题"><br>
<img src="https://img2023.cnblogs.com/blog/3258107/202311/3258107-20231110094014284-557687436.png" alt="Alt text" title="亮度不够的时候用现代浅色主题"><br>
好啦，话不多说，下面是正文。</p>
<h2 id="标题语法">标题语法 </h2>
<hr>
<p>书写：</p>
<ol>
<li>在标题前添加井号<code>#</code>；</li>
<li><code>#</code>的数量代表了标题的级别；</li>
<li>考虑到不同mkd应用程序的兼容性，在<code>#</code>和标题之间用一个空格进行分隔。</li>
</ol>
<p>示例：<br>
<code>#  Heading level 1(&lt;h1&gt;)</code><br>
<code>## Heading level 2(&lt;h2&gt;)</code></p>
<h2 id="换行语法">换行语法 </h2>
<hr>
<p>书写：</p>
<ol>
<li>法1：在一行末尾添加至少两个空格然后按回车键；</li>
<li>法2：在行末使用<code>&lt;br&gt;</code>(line break)创建一个换行。</li>
</ol>
<p>示例：</p>
<pre data-role="codeBlock" data-info="" class="language-text text"><code>This is the first line.  
And this is the second line. &lt;br&gt;And this is the third line.
</code></pre><p>效果：<br>
This is the first line.<br>
And this is the second line. <br>And this is the third line.</p>
<h2 id="段落语法">段落语法 </h2>
<hr>
<p>书写：在段落之间使用空白行进行分隔。</p>
<p>示例 &amp; 效果：<br>
I really like using Markdown.</p>
<p>I think I`ll use it format all of documents from now on.</p>
<h2 id="强调语法">强调语法 </h2>
<hr>
<h3 id="粗体bold">粗体(Bold) </h3>
<p>书写：</p>
<ol>
<li>法1：在要加粗的文字前后各添加两个星号<code>**</code>，如<code>**text here**</code>；</li>
<li>使用一对标签<code>&lt;strong&gt;text here&lt;/strong&gt;</code>，实现文字加粗。</li>
</ol>
<p>示例：</p>
<pre data-role="codeBlock" data-info="HTML" class="language-html HTML"><code>**The bold text.**  
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>strong</span><span class="token punctuation">&gt;</span></span>The bold text.<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>strong</span><span class="token punctuation">&gt;</span></span> 
</code></pre><p>效果：<br>
<strong>The bold text.</strong><br>
<strong>The bold text.</strong></p>
<h3 id="斜体italic">斜体(Italic) </h3>
<p>书写：</p>
<ol>
<li>法1：在要斜体显示的文字前后各添加一个星号<code>*</code>，如<code>*text here*</code>；</li>
<li>使用一对标签<code>&lt;em&gt;text here&lt;/em&gt;</code>，实现文字斜体显示。</li>
</ol>
<p>示例：</p>
<pre data-role="codeBlock" data-info="HTML" class="language-html HTML"><code>Italicized text is the *cat’s meow*.  
Italicized text is the <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>em</span><span class="token punctuation">&gt;</span></span>cat’s meow<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>em</span><span class="token punctuation">&gt;</span></span>.
</code></pre><p>效果：<br>
Italicized text is the <em>cat’s meow</em>.<br>
Italicized text is the <em>cat’s meow</em>.</p>
<h3 id="粗体和斜体">粗体和斜体 </h3>
<p>书写：</p>
<ol>
<li>法1：在要加粗并斜体显示的文字前后各添加三个星号<code>***</code>，如<code>***text here***</code>；</li>
<li>法2：添加对称的<code>&lt;strong&gt;&lt;em&gt;text here&lt;/em&gt;&lt;/strong&gt;</code>，实现文字斜体显示。</li>
</ol>
<p>示例：</p>
<pre data-role="codeBlock" data-info="HTML" class="language-html HTML"><code>***This text is really important.***
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>strong</span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>em</span><span class="token punctuation">&gt;</span></span>This text is really important.<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>em</span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>strong</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>效果：<br>
<em><strong>This text is really important.</strong></em><br>
<strong><em>This text is really important.</em></strong></p>
<h3 id="删除线">删除线 </h3>
<p>书写：在删除显示的文本前后添加两个波浪号<code>~~</code>，如<code>~~text here~~</code>。</p>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>给你一朵~~红玫瑰~~黄玫瑰的记忆
</code></pre><p>效果：<br>
给你一朵<s>红玫瑰</s>黄玫瑰的记忆</p>
<h3 id="文字居中">文字居中 </h3>
<p>使用居中标签<code>&lt;center&gt;&lt;/center&gt;</code>设置文字居中显示。</p>
<p>示例：</p>
<pre data-role="codeBlock" data-info="HTML" class="language-html HTML"><code><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>center</span><span class="token punctuation">&gt;</span></span>text here<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>center</span><span class="token punctuation">&gt;</span></span>
</code></pre><p>效果：</p>
<center>text here</center>
<ul>
<li><strong><a href="https://www.cnblogs.com/poem357/p/17816004.html"><font color="#42b983">修改字体、字号、颜色，设置背景色等内容在Markdown扩展篇，点此跳转。</font></a></strong></li>
</ul>
<h2 id="引用语法">引用语法 </h2>
<hr>
<p>书写：在要引用的段落前添加<code>&gt;</code>符号创建引用块。</p>
<p>示例：</p>
<pre data-role="codeBlock" data-info="" class="language-text text"><code>&gt; this is a cite.
</code></pre><p>效果：</p>
<blockquote>
<p>this is a cite.</p>
</blockquote>
<p>块引用可以包含多个段落，为段落之间的空白行添加一个<code>&gt;</code>即可。</p>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>&gt; 我给你你出生多年前的
&gt;
&gt; 一朵黄玫瑰的记忆
</code></pre><p>效果：</p>
<blockquote>
<p>我给你你出生多年前的</p>
<p>一朵黄玫瑰的记忆</p>
</blockquote>
<ul>
<li><strong><a href="https://www.cnblogs.com/poem357/p/17816004.html"><font color="#42b983">块引用嵌套内容在Markdown扩展语法篇，点击跳转。</font></a></strong></li>
</ul>
<h2 id="分割线语法">分割线语法 </h2>
<hr>
<p>书写：在单独一行上使用三个破折号<code>---</code>，该行不能包含其他内容。</p>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>---
</code></pre><h2 id="列表语法">列表语法 </h2>
<hr>
<h3 id="有序列表">有序列表 </h3>
<p>书写 &amp; 效果：</p>
<ol>
<li>在每个列表前添加紧跟英文句点<code>.</code>的数字；</li>
<li>数字不必顺序排列，但要从1起始；</li>
<li>缩进一个或多个列表(Tab)可创建嵌套列表。
<ol>
<li>看</li>
<li>这个列表本身就是渲染效果</li>
</ol>
</li>
</ol>
<h3 id="无序列表">无序列表 </h3>
<p>书写：</p>
<ol>
<li>在每个列表前添加<code>-</code>创建无序列表；</li>
<li>缩进一个或多个列表(Tab)可创建嵌套列表。</li>
</ol>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>- First item
- Second item
  - First item
  - Second item
    - First item
</code></pre><p>效果：</p>
<ul>
<li>
<p>First item</p>
</li>
<li>
<p>Second item</p>
<ul>
<li>First item</li>
<li>Second item
<ul>
<li>First item</li>
</ul>
</li>
</ul>
</li>
<li>
<p><strong><a href="https://www.cnblogs.com/poem357/p/17816004.html"><font color="#42b983">如何在列表嵌套其他元素（列表、代码、图片）而不破坏列表连续性等内容在Markdown扩展语法篇，点击跳转。</font></a></strong></p>
</li>
</ul>
<h2 id="代码语法">代码语法 </h2>
<hr>
<h3 id="行内代码">行内代码 </h3>
<p>书写：</p>
<ol>
<li>将要显示成代码的文字包裹在反引号(`)中，以创建行内代码；</li>
<li>如果文字中包含反引号，使用双反引号将其包裹。</li>
</ol>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>Use `code` in my documents.
``Use `code` in my documents.``
</code></pre><p>效果：<br>
Use <code>code</code> in my documents.<br>
<code>Use `code` in my documents.</code></p>
<h3 id="代码块">代码块 </h3>
<p>书写：</p>
<ol>
<li>在代码块前后添加三个反引号<code>```</code>或波浪号<code>~~~</code>；</li>
<li>若要使用语法高亮，需在代码块前的三个反引号后指定语言（<code>c c++ java HTML</code>等）。</li>
</ol>
<p>示例：</p>
<pre data-role="codeBlock" data-info="txt" class="language-txt txt"><code>    ```c
    int main()
    {
        int i = 0;
        printf("%d\n", i);
        return 0;
    }
    ```
</code></pre><p>效果：</p>
<pre data-role="codeBlock" data-info="c" class="language-c c"><code><span class="token keyword keyword-int">int</span> <span class="token function">main</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
<span class="token punctuation">{</span>
    <span class="token keyword keyword-int">int</span> i <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>
    <span class="token function">printf</span><span class="token punctuation">(</span><span class="token string">"%d\n"</span><span class="token punctuation">,</span> i<span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token keyword keyword-return">return</span> <span class="token number">0</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre><h2 id="表格语法">表格语法 </h2>
<hr>
<p><strong>书写要点：</strong></p>
<ol>
<li>使用三个或多个连字符<code>---</code>创建每列的标题；</li>
<li>使用管道<code>|</code>分隔每列；</li>
<li>在标题连字符<code>---</code>左侧或右侧添加冒号<code>:</code>设置表格内文字的位置。
<ol>
<li><code>:---</code>使表格内的文本左对齐</li>
<li><code>:---:</code>使表格内的文本居中</li>
<li><code>---:</code>使表格内的文本右对齐</li>
</ol>
</li>
</ol>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>|title1|title2|title3|
|:---|:---:|---:|
|`code`|text|**bold**|
||&lt;https://markdown.com.cn/extended-syntax/tables.html&gt;|
</code></pre><p>效果：</p>
<table>
<thead>
<tr>
<th style="text-align:left">title1</th>
<th style="text-align:center">title2</th>
<th style="text-align:right">title3</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left"><code>code</code></td>
<td style="text-align:center">text</td>
<td style="text-align:right"><strong>bold</strong></td>
</tr>
<tr>
<td style="text-align:left"></td>
<td style="text-align:center"><a href="https://markdown.com.cn/extended-syntax/tables.html">https://markdown.com.cn/extended-syntax/tables.html</a></td>
<td style="text-align:right"></td>
</tr>
</tbody>
</table>
<ul>
<li>
<p>转义管道字符，需使用HTML字符代码<code>&amp;#124;</code>，使表中显示<code>|</code>。</p>
</li>
<li>
<p><strong><a href="https://www.cnblogs.com/poem357/p/17816004.html"><font color="#42b983">合并单元格、设置表格和单元格内文本的对齐方式等内容在扩展语法篇，点击跳转。</font></a></strong></p>
</li>
</ul>
<h2 id="数学公式">数学公式 </h2>
<hr>
<p><strong>书写：</strong></p>
<ol>
<li>在LaTex语法前后分别插入一个<code>$</code>创建行内公式；</li>
<li>在LaTex语法前后分别插入两个<code>$</code>创建行间公式；</li>
<li>运算符的元素多于两个时，用中括号<code>{}</code>将元素括起来。</li>
</ol>
<ul>
<li>推荐插件：<code>MarkdownTools</code>有常用符号，还可以在线设计公式。</li>
</ul>
<p><strong>常见符号：</strong></p>
<table>
<thead>
<tr>
<th style="text-align:left">符号或结构</th>
<th style="text-align:left">语法</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>α</mi></mrow><annotation encoding="application/x-tex">\alpha</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.4306em;"></span><span class="mord mathnormal" style="margin-right:0.0037em;">α</span></span></span></span></td>
<td style="text-align:left">\alpha</td>
</tr>
<tr>
<td style="text-align:left"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>β</mi></mrow><annotation encoding="application/x-tex">\beta</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.8889em;vertical-align:-0.1944em;"></span><span class="mord mathnormal" style="margin-right:0.05278em;">β</span></span></span></span></td>
<td style="text-align:left">\beta</td>
</tr>
<tr>
<td style="text-align:left"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>χ</mi></mrow><annotation encoding="application/x-tex">\chi</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.625em;vertical-align:-0.1944em;"></span><span class="mord mathnormal">χ</span></span></span></span></td>
<td style="text-align:left">\chi</td>
</tr>
<tr>
<td style="text-align:left"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mfrac><mrow><mi>a</mi><mi>b</mi></mrow><mrow><mi>c</mi><mi>d</mi></mrow></mfrac></mrow><annotation encoding="application/x-tex">\frac{ab}{cd}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:1.2251em;vertical-align:-0.345em;"></span><span class="mord"><span class="mopen nulldelimiter"></span><span class="mfrac"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.8801em;"><span style="top:-2.655em;"><span class="pstrut" style="height:3em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathnormal mtight">c</span><span class="mord mathnormal mtight">d</span></span></span></span><span style="top:-3.23em;"><span class="pstrut" style="height:3em;"></span><span class="frac-line" style="border-bottom-width:0.04em;"></span></span><span style="top:-3.394em;"><span class="pstrut" style="height:3em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathnormal mtight">ab</span></span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.345em;"><span></span></span></span></span></span><span class="mclose nulldelimiter"></span></span></span></span></span></td>
<td style="text-align:left">\frac{ab}{cd}</td>
</tr>
<tr>
<td style="text-align:left"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msqrt><mrow><mi>a</mi><mi>b</mi><mi>c</mi></mrow></msqrt></mrow><annotation encoding="application/x-tex">\sqrt{abc}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:1.04em;vertical-align:-0.1078em;"></span><span class="mord sqrt"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.9322em;"><span class="svg-align" style="top:-3em;"><span class="pstrut" style="height:3em;"></span><span class="mord" style="padding-left:0.833em;"><span class="mord mathnormal">ab</span><span class="mord mathnormal">c</span></span></span><span style="top:-2.8922em;"><span class="pstrut" style="height:3em;"></span><span class="hide-tail" style="min-width:0.853em;height:1.08em;"><svg xmlns="http://www.w3.org/2000/svg" width="400em" height="1.08em" viewBox="0 0 400000 1080" preserveAspectRatio="xMinYMin slice"><path d="M95,702
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l0 -0
c5.3,-9.3,12,-14,20,-14
H400000v40H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M834 80h400000v40h-400000z"></path></svg></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.1078em;"><span></span></span></span></span></span></span></span></span></td>
<td style="text-align:left">\sqrt{abc}</td>
</tr>
<tr>
<td style="text-align:left">上标</td>
<td style="text-align:left">^</td>
</tr>
<tr>
<td style="text-align:left">下标</td>
<td style="text-align:left">_</td>
</tr>
</tbody>
</table>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>牛顿第二定律公式是：$F=ma$。
$$v_t^2-v_0^2=2ax$$
</code></pre><p>效果：<br>
牛顿第二定律公式是：<span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>F</mi><mo>=</mo><mi>m</mi><mi>a</mi></mrow><annotation encoding="application/x-tex">F=ma</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6833em;"></span><span class="mord mathnormal" style="margin-right:0.13889em;">F</span><span class="mspace" style="margin-right:0.2778em;"></span><span class="mrel">=</span><span class="mspace" style="margin-right:0.2778em;"></span></span><span class="base"><span class="strut" style="height:0.4306em;"></span><span class="mord mathnormal">ma</span></span></span></span>。<br>
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msubsup><mi>v</mi><mi>t</mi><mn>2</mn></msubsup><mo>−</mo><msubsup><mi>v</mi><mn>0</mn><mn>2</mn></msubsup><mo>=</mo><mn>2</mn><mi>a</mi><mi>x</mi></mrow><annotation encoding="application/x-tex">v_t^2-v_0^2=2ax</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:1.1111em;vertical-align:-0.247em;"></span><span class="mord"><span class="mord mathnormal" style="margin-right:0.03588em;">v</span><span class="msupsub"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.8641em;"><span style="top:-2.453em;margin-left:-0.0359em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mathnormal mtight">t</span></span></span><span style="top:-3.113em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight">2</span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.247em;"><span></span></span></span></span></span></span><span class="mspace" style="margin-right:0.2222em;"></span><span class="mbin">−</span><span class="mspace" style="margin-right:0.2222em;"></span></span><span class="base"><span class="strut" style="height:1.1111em;vertical-align:-0.247em;"></span><span class="mord"><span class="mord mathnormal" style="margin-right:0.03588em;">v</span><span class="msupsub"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.8641em;"><span style="top:-2.453em;margin-left:-0.0359em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight">0</span></span></span><span style="top:-3.113em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight">2</span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.247em;"><span></span></span></span></span></span></span><span class="mspace" style="margin-right:0.2778em;"></span><span class="mrel">=</span><span class="mspace" style="margin-right:0.2778em;"></span></span><span class="base"><span class="strut" style="height:0.6444em;"></span><span class="mord">2</span><span class="mord mathnormal">a</span><span class="mord mathnormal">x</span></span></span></span></span></p>
<h2 id="链接语法">链接语法 </h2>
<hr>
<blockquote>
<p>链接title是当鼠标悬停在链接上时会出现的文字。</p>
</blockquote>
<p><strong>语法：<br>
<code>[超链接显示名](超链接地址 "超链接title")</code></strong></p>
<p>书写要点：</p>
<ol>
<li>链接显示文本放在中括号内<code>[显示文本]</code>；</li>
<li>链接地址放在显示文本后面的括号内<code>[显示文本](URL)</code>；</li>
<li>若要添加链接title，需要添加在超链接地址后，中间以一个空格连接。<br>
<code>(URL "超链接title")</code></li>
</ol>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>这是一个链接[Markdown语法](https://markdown.com.cn/basic-syntax/ "官方Markdown语法教程网站")。
</code></pre><p>效果：<br>
这是一个链接<a href="https://markdown.com.cn/basic-syntax/" title="官方Markdown语法教程网站">Markdown语法</a>。</p>
<h3 id="网址和email地址">网址和Email地址 </h3>
<p>书写：将链接的网址和Email放在尖括号<code>&lt;&gt;</code>内，使其变成可点击的链接。</p>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>&lt;https://markdown.com.cn/basic-syntax/&gt;
&lt;3568970551@qq.com&gt;
</code></pre><p>效果：<br>
<a href="https://markdown.com.cn/basic-syntax/">https://markdown.com.cn/basic-syntax/</a><br>
<a href="mailto:3568970551@qq.com">3568970551@qq.com</a></p>
<h3 id="带格式化的链接">带格式化的链接 </h3>
<p>书写：</p>
<ol>
<li><strong>强调链接</strong>，在链接前后增加相应个数的星号实现相应的强调效果；</li>
<li>若要将链接显示为代码，需在方括号中添加反引号。</li>
</ol>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>I love this ***[instructions](https://markdown.com.cn/basic-syntax/)***.
I love this [`instructions`](https://markdown.com.cn/basic-syntax/).
</code></pre><p>效果：<br>
I love this <em><strong><a href="https://markdown.com.cn/basic-syntax/">instructions</a></strong></em>.<br>
I love this <a href="https://markdown.com.cn/basic-syntax/"><code>instructions</code></a>.</p>
<ul>
<li><strong><a href="https://www.cnblogs.com/poem357/p/17816004.html"><font color="#42b983">脚注和引用类型链接等内容在扩展语法篇，点击跳转。</font></a></strong></li>
</ul>
<h2 id="图片语法">图片语法 </h2>
<hr>
<h3 id="普通图片">普通图片 </h3>
<p>书写：<strong><code>![图片alt](图片链接 "图片title")</code></strong><br>
书写：在感叹号<code>!</code>后的方括号内添加替代文本，图像的Markdown链接放在圆括号内，链接后可以增加一个可选的title。</p>
<ul>
<li>如果和我一样使用Vscode写md文档，推荐使用<a href="https://marketplace.visualstudio.com/items?itemName=mushan.vscode-paste-image" title="Image Paste插件地址">插件Image Paste</a>，直接去扩展搜索下载就可以了。使用该插件后，复制图片，再粘贴到文档任意位置，可自动产生图片链接。</li>
</ul>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>![Alt text](https://img2023.cnblogs.com/blog/3258107/202311/3258107-20231107210109373-1183604037.jpg"这是章鱼哥")
</code></pre><p>效果：</p>
<div align="center"><img src="https://img2023.cnblogs.com/blog/3258107/202311/3258107-20231107210109373-1183604037.jpg" width="30%" height="30%"></div>
<h3 id="链接图片">链接图片 </h3>
<p><strong>语法：</strong><br>
<code>[![Alt text](Markdown "title")](URL)</code></p>
<p>书写：将图像的Markdown扩在方括号内，然后在方括号后的圆括号内添加跳转链接。</p>
<p>示例：</p>
<pre data-role="codeBlock" data-info="dotnetcli" class="language-dotnetcli dotnetcli"><code>[![Alt text](https://img2023.cnblogs.com/blog/3258107/202311/3258107-20231107210109373-1183604037.jpg "跳去Bing搜索")](https://cn.bing.com/?ensearch=1&amp;mkt=zh-CN)
</code></pre><p>效果：<br>
<a href="https://cn.bing.com/?ensearch=1&amp;mkt=zh-CN"></a></p><div align="center"><a href="https://cn.bing.com/?ensearch=1&amp;mkt=zh-CN"><img src="https://img2023.cnblogs.com/blog/3258107/202311/3258107-20231107210109373-1183604037.jpg" width="30%" height="30%"></a></div><p></p>
<ul>
<li><strong><a href=""><font color="#42b983">修改图片大小和显示位置等内容在扩展语法篇，点击跳转。</font></a></strong></li>
</ul>
<h2 id="转义字符语法">转义字符语法 </h2>
<hr>
<blockquote>
<p>我们想书写上述语法中出现的符号，如<code>* ~</code>等，却不想行使他们的对应功能，就要使用转义字符语法。</p>
</blockquote>
<p>书写：在要显示但用于格式化Markdown文档的字符前，添加反斜杠字符<code>\</code>。</p>
<p>示例：<code>\* 一朵黄玫瑰的记忆。</code></p>
<p>效果：* 一朵黄玫瑰的记忆。</p>
<h2 id="自动网址链接">自动网址链接 </h2>
<hr>
<blockquote>
<p>许多Markdown处理器会自动将URL转换为链接。这意味着即使输入的网址未使用Markdown语法，处理器也会自动将其转换为链接。</p>
</blockquote>
<p>如果不希望自动链接URL，可以将其变成行内代码的形式。</p>
<p>示例：<br>
<a href="https://markdown.com.cn/extended-syntax/automatic-url-linking.html">https://markdown.com.cn/extended-syntax/automatic-url-linking.html</a></p>
<p><code>https://markdown.com.cn/extended-syntax/automatic-url-linking.html</code></p>

      </div>
      
      
    
    
    
    
    
    
  
    </body></html>